﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using PQT.API;
using PQT.Controls;
using PQT.API.File;
using PQT.API;
using PQT.API.File;
using PQT.API.DataDefine.Sys;
using PQT.Common;
using cbmobile.BLC;
using cbmobile.DAC;

namespace cbmobile.MasterUser.UC_Page
{
    public partial class Search_Product : System.Web.UI.UserControl
    {
        //int pagesize = 10;
        BLC_SanPham blc = new BLC_SanPham();

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                //BindGirdView();
            }
        }



        protected void BinInfo()
        {
            DL_AccList.DataSource = blc.Get_SP_Top();
            DL_AccList.DataBind();
        }

        protected string GetImagePath(object p_fileID)
        {
            string path = "/ImagesSP/" + Convert.ToString(p_fileID);
            return path;
        }
        
    }
}